view original | go back | toggle font

14837-yunetsurf-v3-0-0-for-d6-xe10

YuNetsurf v3.0.0 for D6-XE10

YuNetSurf is a HTML5 parser and tree builder with CSS3 tokeniser, parser, and selection engine for Delphi (Embarcadero / CodeGear / Borland).

HTML Parser and Tree Builder

CSS Parser and Selection Engine

Usage Scenarios

YuNetsurf 3.0.0 – 25 Mar 2016

Incompatibility Change:

Optimize the way to handle CSS presentational hints: Previously, the CSS selection engine iterated over all properties not either in a UA stylesheet or a user stylesheet with !important set. It asked the client if there were any presentational hints for that node, once for each property. This triggered up to N_PROPERTIES * N_NODES calls to the client.

The new API asks the client to supply a list of all the presentational hints that apply to node, which is 0 for most nodes. This triggers at most N_NODES calls to the client. css_hint has been changed to include the property which the hint applies to.

Wrapper classes have been adjusted as well:

*   TYuSimpleCss.OnNodePresentationalHint
*   TYuLibXml2Css.OnNodePresentationalHint

Because of this incompatible API change, the YuNetSurf major version incremented to 3.

New Functions:

*   Add lwc_string_tolower <abbr title="Application Programming Interface">API</abbr>.</article>